<?xml version="1.0"?>

<scene>

  <assign type="material" id="matte1">
    <material>
      <code>"MatteTextured"</code>
      <parameters>
        <texture name="Kd">"lines.ppm"</texture>
        <float2 name="s0">0 0</float2>
        <float2 name="ds">1 1</float2>
      </parameters>
    </material>
  </assign>

  <assign type="material" id="glass1">
    <material>
      <code>"glass"</code>
      <parameters>
        <float3 name="transmission">1 1 1</float3>
        <float name="etaOutside">1</float>
        <float name="etaInside">1.45</float>
      </parameters>
    </material>
  </assign>

  <Group>

    <Sphere>
      <position>0 100 0</position>
      <radius>100</radius>
      <numTheta>50</numTheta>
      <numPhi>50</numPhi>      
      <material id="glass1"/>
    </Sphere>

    <TriangleMesh>
      <positions>-1000 0 -1000 1000 0 -1000 1000 0 1000 -1000 0 1000</positions>
      <normals>0 1 0 0 1 0 0 1 0 0 1 0</normals>
      <texcoords>0 0 1 0 1 1 0 1</texcoords>
      <triangles>0 1 2 2 3 0</triangles>
      <material id="matte1"/>
    </TriangleMesh>

    <HDRILight>
      <AffineSpace>1 0 0 0 0 1 0 0 0 0 1 0</AffineSpace>
      <L>2.0 1.5 1.2</L>
      <image>"lines.ppm"</image>
    </HDRILight>

  </Group>
</scene>
